package com.tmindtech.api.justice.model

import com.tmindtech.api.base.model.BaseEntity
import javax.persistence.Entity
import javax.persistence.Table

/**
 * Created by RexQian on 2017/11/21.
 */
@Entity
@Table(name = "t_justice_staff")
class JusticeStaff(
        var deptId: Long? = null,
        var name: String? = null,
        var phone: String? = null,
        var type: Int? = null
) : BaseEntity()

enum class StaffType(var value: Int) {
    Justice(0),
    FoodSafe(1)
}
